package demo3;


import org.springframework.stereotype.Component;

@Component("summer")
public class Shirt implements Clothes {

    public void wear(){
        System.out.println("穿衬衫");
    }
}
